package com.twu.biblioteca.menuoption.users;

import com.twu.biblioteca.menuoption.MenuOptionAbstract;
import com.twu.biblioteca.users.BibliotecaUsers;

/**
 * Created by mduemcke on 9/25/14.
 */
public class ShowUserInformation extends MenuOptionAbstract {

    BibliotecaUsers bibliotecaUsers;

    public ShowUserInformation(BibliotecaUsers bibliotecaUsers) {
        super("Show user information", 'U');
        this.bibliotecaUsers = bibliotecaUsers;
    }

    @Override
    public void processOption() {
        bibliotecaUsers.printUserInformation();
    }
}
